package cn.edu.sdjzu.xg.eagle.bysj.entity.view;

import cn.edu.sdjzu.xg.eagle.bysj.entity.UsersEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.commons.beanutils.BeanUtils;
import java.lang.reflect.InvocationTargetException;
import java.math.BigDecimal;

import java.io.Serializable;
import cn.edu.sdjzu.xg.eagle.bysj.utils.EncryptUtil;


/**
 * 管理员
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author
 * @email
 * @date 2025-05-27 14:26:10
 */
@TableName("users")
public class UsersView  extends UsersEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public UsersView(){
    }

    public UsersView(UsersEntity usersEntity){
        try {
            BeanUtils.copyProperties(this, usersEntity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }



}
